﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SQL语句生成软件.Model;


namespace SQL语句生成软件
{
    public partial class FrmMain : Form
    {
        /// <summary>
        /// 数据库类型
        /// </summary>
        EDatabaseType eDatabase = EDatabaseType.SQL_Server;
        /// <summary>
        /// 操作类型
        /// </summary>
        EOperationType operationType = EOperationType.CreateTable;


        public FrmMain()
        {
            InitializeComponent();
        }

        private void FrmMain_Load(object sender, EventArgs e)
        {
            cmbDatabaseType.SelectedIndex = 0;
            cmbConditions.SelectedIndex = 0;

        }

        /// <summary>
        /// 生成SQL语句
        /// </summary>
        private void GenerateSQLStatements()
        {

        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            GenerateSQLStatements();
        }

        private void cmbConditions_SelectedIndexChanged(object sender, EventArgs e)
        {

        }


        private void GenerateControls()
        {

        }
    }
}
